package com.kuang.service;

import com.kuang.dao.DataCollectMapper;
import com.kuang.pojo.DataCollect;
import com.kuang.pojo.Location;

import java.util.List;

public class DataCollectServiceImpl implements DataCollectService{
    private DataCollectMapper dataCollectMapper;

    public void setDataCollectMapper(DataCollectMapper dataCollectMapper) {
        this.dataCollectMapper = dataCollectMapper;
    }

    public String selectTemp(int usage_id) {
        return dataCollectMapper.selectTemp(usage_id);
    }

    public String selectLocation(int usage_id) {
        return dataCollectMapper.selectLocation(usage_id);
    }

    public DataCollect selectDataByUsage_id(int usage_id) {
        return dataCollectMapper.selectDataByUsage_id(usage_id);
    }
}
